package fr.udata.client.service;

import com.google.gwt.user.client.rpc.AsyncCallback;

import fr.udata.shared.model.UserB;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface UserServiceAsync {

	void saveUser(UserB user, AsyncCallback<UserB> callback)
			throws IllegalArgumentException;

	void getUser(String email, AsyncCallback<UserB> callback)
			throws IllegalArgumentException;
}
